﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.ServiceModel;
namespace TestForm
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form1 form1=null;
            try
            {
                form1 = new Form1();
            }
            catch(EndpointNotFoundException e)
            {
                MessageBox.Show( e.Message,"네트워크 연결이 되지않았습니다.", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            Application.Run(form1);
        }
    }
}
